package com.huadi.firematerialident.po;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Identifier {
    private String IdentID;
    private String IdentCount;
    private String IdentPassword;
    private String IdentName;
    private String IdentSex;
    private LocalDate IdentBirth;
    private String IdentPhone;
    private boolean LogicalAddDel;
    private LocalDateTime LastModification;

    public String getIdentID() {
        return IdentID;
    }

    public void setIdentID() {
        long time=System.currentTimeMillis();
        String s= String.valueOf(time);
        String ss=s.substring(3);
        this.IdentID = "I"+ss;
    }

    public void setIdentID(String identID) {
        IdentID = identID;
    }

    public String getIdentCount() {
        return IdentCount;
    }

    public void setIdentCount(String identCount) {
        IdentCount = identCount;
    }

    public String getIdentPassword() {
        return IdentPassword;
    }

    public void setIdentPassword(String identPassword) {
        IdentPassword = identPassword;
    }

    public String getIdentName() {
        return IdentName;
    }

    public void setIdentName(String identName) {
        IdentName = identName;
    }

    public String getIdentSex() {
        return IdentSex;
    }

    public void setIdentSex(String identSex) {
        IdentSex = identSex;
    }

    public LocalDate getIdentBirth() {
        return IdentBirth;
    }

    public void setIdentBirth(LocalDate identBirth) {
        IdentBirth = identBirth;
    }

    public String getIdentPhone() {
        return IdentPhone;
    }

    public void setIdentPhone(String identPhone) {
        IdentPhone = identPhone;
    }

    public boolean getLogicalAddDel() {
        return LogicalAddDel;
    }

    public void setLogicalAddDel(boolean logicalAddDel) {
        LogicalAddDel = logicalAddDel;
    }

    public LocalDateTime getLastModification() {
        return LastModification;
    }

    public void setLastModification(LocalDateTime lastModification) {
        LastModification = lastModification;
    }
}
